package com.clp.protocol.core.exception;

import io.netty.channel.Channel;

public class MasterDoesNotExistException extends Exception {
    public MasterDoesNotExistException(Channel channel) {
        super("Could not find master with channel: " + channel);
    }

    public MasterDoesNotExistException(String remoteHost, int remotePort) {
        super("Could not find master with remote host: " + remoteHost + " and remote port: " + remotePort);
    }
}
